package com.fortune.rainshineservice.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.fortune.rainshinecommon.entity.StatTopTenEntity;
import com.fortune.rainshinecommon.model.MonthShopStatModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MonthShopStatMapper extends BaseMapper<MonthShopStatModel> {
    List<StatTopTenEntity> getShopNewCustomerStat(@Param("beginTime") String beginTime, @Param("endTime") String endTime);

    List<StatTopTenEntity> getShopBuyStat(@Param("beginTime") String beginTime, @Param("endTime") String endTime);

    List<StatTopTenEntity> selectMerchatStat(@Param("beginTime") String beginTime, @Param("endTime") String endTime);

    void insertSelective(MonthShopStatModel model);
}
